package com.longshihan.carservice.model;

import java.io.Serializable;
import java.util.List;

/**
 * 购物车商品类
 */
public class CartGoodsDomain implements Serializable {
    private String userId;//用户ID,这是key
    private List<OrderGoodsDomain> cartBeans;//商品的json(商品ID,个数,单价)
    private String goods;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<OrderGoodsDomain> getCartBeans() {
        return cartBeans;
    }

    public void setCartBeans(List<OrderGoodsDomain> cartBeans) {
        this.cartBeans = cartBeans;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }
}
